package com.cqw.commontest.annotation;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-04-13 16:39
 * @Description:
 */
public class AnnotationTest {


    @MyAnnotation(value = "自定义注解测试")
    public static void main(String[] args) throws NoSuchMethodException {
        MyAnnotation annotation = AnnotationTest.class.getMethod("main",String[].class).getAnnotation(MyAnnotation.class);
        System.out.println(annotation.value());
    }


}
